package com.example.chirdrenserver.Pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;


@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class Permission {

    @TableId(value = "permission_id", type = IdType.AUTO)
    private Integer permissionId;

    private String permissionSign;

    private String description;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime createTime;


}
